package com.flower.service;

import com.flower.util.ResponseResult;
import org.springframework.stereotype.Component;

/*
 *@ClassName FallbackMethodOrder
 *@Description 整合feign客户端的方式一
 *@Author 吃麻椒的花酱
 *@Date 2021/6/24 1:13
 *@Version 1.0
 */
@Component
public class FallbackMethodOrder implements OrderFeign{
    @Override
    public Object getOrder() {
        return ResponseResult.error("服务错误，请稍后再试！！！");
    }
}
